﻿using UnityEditor;

namespace UFrame
{
    [CustomEditor(typeof(BaseDataMB))]
    public class BaseDataMBEditor : Editor
    {
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            UpdateData();
        }


        public void UpdateData()
        {
            var o = target as BaseDataMB;
            PLEditorTool.ShowClassBox(o.data);
        }
    }
}